SMAN

Section: Version 1.1 (1)
Updated: AMIGA Programmer's Manual
Index Return to Main Contents
 

NAME

sman - a document lookup program.  

SYNOPSIS

[-p Search Pattern] [-v Viewer] target [target...]  

DESCRIPTION

There is no uniform standard for the format or position of documentation files on the Amiga. This makes a manual program in the style of the Unix program a somewhat difficult thing to create. attempts to overcome this difficulty by allowing the user to specify quite general rules for the location of documentation files. Once a document is located, it is passed on to a text viewer to be displayed.

There are two ways the documentation lookup rules can be passed to The first is by the use of the command line argument, the second is by the ENV: environment variable The command line argument will override any definition of the environment variable, but at least one must be defined.

The format of the lookup rule is:

rule1;rule2;...

Each of the rules will be searched in order until a match is found. A rule is formed by an optional special character, which specifies the kind of search to be performed on the matching files, followed by a (possibly) wildcarded AmigaDOS path specifying the files to be searched. See for a discussion of the wildcard format.

There are currently three kinds of search rules implemented:


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 21:59:30 GMT, August 02, 2022